package com.xbxkj.commen.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 张子艺
 * @since 2020-01-09
 */
@TableName("shop_examine")
@ApiModel(value="ShopExamine对象", description="")
public class ShopExamine extends Model<ShopExamine> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "门店电话")
    @TableField("shop_tel")
    private String shopTel;

    @ApiModelProperty(value = "门店地址")
    @TableField("shop_address")
    private String shopAddress;

    @ApiModelProperty(value = "店主")
    @TableField("shop_keeper")
    private String shopKeeper;

    @ApiModelProperty(value = "审核状态 1 通过 2 未通过 3待审核")
    @TableField("examine_status")
    private Integer examineStatus;

    @ApiModelProperty(value = "身份 1 个人 2 个体商户 3 企业")
    @TableField("identity")
    private Integer identity;

    @ApiModelProperty(value = "身份证反面")
    @TableField("id_card_back")
    private String idCardBack;

    @ApiModelProperty(value = "身份证正面")
    @TableField("id_card_just")
    private String idCardJust;

    @ApiModelProperty(value = "营业执照")
    @TableField("business_license")
    private String businessLicense;

    @ApiModelProperty(value = "店铺类型")
    @TableField("shop_type")
    private Integer shopType;

    @ApiModelProperty(value = "关联小程序用户")
    @TableField("user_id")
    private Integer userId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getShopTel() {
        return shopTel;
    }

    public void setShopTel(String shopTel) {
        this.shopTel = shopTel;
    }
    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }
    public String getShopKeeper() {
        return shopKeeper;
    }

    public void setShopKeeper(String shopKeeper) {
        this.shopKeeper = shopKeeper;
    }
    public Integer getExamineStatus() {
        return examineStatus;
    }

    public void setExamineStatus(Integer examineStatus) {
        this.examineStatus = examineStatus;
    }
    public Integer getIdentity() {
        return identity;
    }

    public void setIdentity(Integer identity) {
        this.identity = identity;
    }
    public String getIdCardBack() {
        return idCardBack;
    }

    public void setIdCardBack(String idCardBack) {
        this.idCardBack = idCardBack;
    }

    public String getIdCardJust() {
        return idCardJust;
    }

    public void setIdCardJust(String idCardJust) {
        this.idCardJust = idCardJust;
    }

    public String getBusinessLicense() {
        return businessLicense;
    }

    public void setBusinessLicense(String businessLicense) {
        this.businessLicense = businessLicense;
    }
    public Integer getShopType() {
        return shopType;
    }

    public void setShopType(Integer shopType) {
        this.shopType = shopType;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ShopExamine{" +
            "id=" + id +
            ", shopTel=" + shopTel +
            ", shopAddress=" + shopAddress +
            ", shopKeeper=" + shopKeeper +
            ", examineStatus=" + examineStatus +
            ", identity=" + identity +
            ", idCardBack=" + idCardBack +
            ", idCard just=" + idCardJust +
            ", businessLicense=" + businessLicense +
            ", shopType=" + shopType +
        "}";
    }
}
